﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

 <form action="<%=Url.Content("~/")%><%=ViewData["now_controller"]%>Step4" class="validateform" method="post">
    <input type="hidden" name="ListingID" value='<%=(ViewData["ListingID"] != null) ? ViewData["ListingID"].ToString() : ""%>'/>  
     <table border="0" cellpadding="0" cellspacing="0"  id="id-form" width="100%">
          
             <th><span style="margin-right: 78px;">Address</span></th>
              <td >
              
            		<input id="geocomplete" type="text" placeholder="Type in an address" value=""  class="inp-form " style="min-width:628px"/>
                <input  id="find" value="Find"  class="buttons" type="button" style="margin-right: 35%;"/>  
            
           
            </tr>
            
            <tr>
                <td colspan="4" >
                	<div id="map_canvas">
                    </div>
                
                </td>

            </tr>
            
            <tr>
           
            <td colspan=2>
            <b>Latitude:</b>
                <input name="lat" Id="Latitude" type="text" value="" class="inp-form ">
                <b>Longitude:</b>
                <input name="lng" type="text" ID="Longitude" value="" class="inp-form ">
             <input type="button" style="margin-right:0px;" value="Next"    class="buttons" onclick="javascript:window.location.href='<%=Url.Content("~/")%><%=ViewData["now_controller"]%>Step5/<%= ViewData["ListingID"].ToString()%>'" />
             
                       <input type="submit" value="Save and proceed to Step 5" class="buttons" style="margin-right:8px;"  />
                   
            </td>
            </tr>
           
            
            </table>
 
    
    </form>